﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using WebChatClient.Models;

namespace WebChatClient.Controllers
{
    public class Chatter : WebChatEntities
    {
        public int Id { get; set; }

        [Required]
        public String Nick { get; set; }

        [Required]
        [StringLength(4)]
        public String Password { get; set; }

        public byte[] Avatar { get; set; }

        public int Status { get; set; }
    }
}